<?php
namespace Admin\Controller;

use Common\Controller\AdminbaseController;

class MainController extends AdminbaseController {
	
    public function index(){
    	
    	//server infomaions
    	$id = get_current_admin_id();
    	$user = M('Users')->where(array("id"=>$id))->find();
    	$this->assign('server_user', $user);
    	$this->display();
    }
}